package cn.niit.pm.entity;



import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.ibatis.type.Alias;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 招聘实体类
 * @author xiaomi
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Alias("Recruit")
@ApiModel("招聘实体类")
public class Recruit extends BaseEntity{
    private Integer recruitId;
    private String name;
    private Integer gender;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date birthday;
    private String post; //应聘岗位
    private String idCard; //身份证号
    private String phone;
    private String address;
    private Integer education;  //学历
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date recruitTime;  //应聘时间
}
